package Expe11;

/**
 * @Author 28021
 * @Date 2022/11/22
 */
public class Test1 {
    public static void main(String[] args) {
        China c = new China();
        Japan j = new Japan();
        American a = new American();

        c.number = 28 + Computable.MAX;
        j.number = 14 + Computable.MAX;
        a.number = 7 + Computable.MAX;

        System.out.println("c的学号："+ c.number +"，c求和结果："+c.f(100));
        System.out.println("j的学号："+ j.number +"，j求和结果："+j.f(100));
        System.out.println("a的学号："+ a.number +"，a求和结果："+a.f(100));
    }
}
